<?php

namespace App\Http\Controller\Test;

use Swoft\Http\Server\Annotation\Mapping\Controller;
use Swoft\Http\Server\Annotation\Mapping\RequestMapping;
use Swoft\Http\Server\Annotation\Mapping\RequestMethod;

/**
 * Class Consul
 * @Controller(prefix="/consul")
 */
class ConsulController extends BaseController {

    /**
     * @RequestMapping(route="health",method={RequestMethod::GET})
     */
    public function health(){
        return ["status" => "okk"];
    }
}